package org.zappee.dannyt.swiz.model
{
	import mx.collections.ArrayCollection;
	import mx.collections.IList;
	
	import org.zappee.dannyt.swiz.business.Bug;
	
	[Bindable]
	public class ZappeeModel
	{
		public function ZappeeModel(){}
		
		public var bugs:IList;
		
		public var currentBug:Bug;
		
		public var priorityList:IList = new ArrayCollection([Bug.PRIORITY_LOW, Bug.PRIORITY_MEDIUM, Bug.PRIORITY_HIGH]);
		public var developerList:IList = new ArrayCollection(["peter@moov2.com", "dan@moov2.com", "andrea@moov2.com"]);
		
		// application views
        public var viewState : Number = ZappeeModel.VIEWING_BUG_LIST_SCREEN;
        public static const VIEWING_BUG_LIST_SCREEN : Number = 0;
        public static const VIEWING_MANAGE_BUG_SCREEN : Number = 1;
        
        // todo: shouldn't need this when service is implemented
        public static var lastBugId:uint = 0;
	}
}